GtkNotebook: invert tab drawing order so region flags are set correctly.
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 23 Aug 2010 16:00:06 +0000 (18:00 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:10 +0000 (15:38 +0100)
gtk/gtknotebook.c

index 0ed23dc79bbba84938b4a71e7160e465d0e04c7c..3ce43ee9ab237f38b9ab04f5e25943815dc948be 100644 (file)
@@ -4967,7 +4967,7 @@ gtk_notebook_paint (GtkWidget    *widget,
            gap_x = priv->cur_page->allocation.x - allocation.x - border_width;
 
          gap_width = priv->cur_page->allocation.width;
-         step = is_rtl ? STEP_NEXT : STEP_PREV;
+         step = is_rtl ? STEP_PREV : STEP_NEXT;
          break;
        case GTK_POS_LEFT:
        case GTK_POS_RIGHT: